﻿using System;
namespace Gx.Model
{
    /// <summary>
    /// 请假分割 多天变成一天一天
    /// </summary>
    [Serializable]
    public partial class E_EmpLeaveDetailsInfo
    {
        private int _empleavedetailsid;
        private int _empleaveid;
        private int _empid;
        private int _vacationsalaryid;
        private decimal _leaveday;
        private DateTime _leavestarttime;
        private DateTime _leaveendtime;
        private byte _status;
        public int EmpLeaveDetailsId
        {
            get
            {
                return _empleavedetailsid;
            }
            set { _empleavedetailsid = value; }
        }
        public int EmpLeaveId
        {
            get
            {
                return _empleaveid;
            }
            set { _empleaveid = value; }
        }
        public int EmpId
        {
            get
            {
                return _empid;
            }
            set { _empid = value; }
        }
        public int VacationSalaryId
        {
            get
            {
                return _vacationsalaryid;
            }
            set { _vacationsalaryid = value; }
        }
        public decimal LeaveDay
        {
            get
            {
                return _leaveday;
            }
            set { _leaveday = value; }
        }
        public DateTime LeaveStartTime
        {
            get
            {
                if (_leavestarttime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _leavestarttime;
            }
            set { _leavestarttime = value; }
        }
        public DateTime LeaveEndTime
        {
            get
            {
                if (_leaveendtime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _leaveendtime;
            }
            set { _leaveendtime = value; }
        }
        public byte Status
        {
            get
            {
                return _status;
            }
            set { _status = value; }
        }
    }
}
